home *** CD-ROM | disk | FTP | other *** search
Text File | 1997-02-13 | 1.8 KB | 84 lines | [TEXT/MPS ] |
-
- /*
- * This file was generated by the SOM Compiler.
- * FileName: GeoTypes.xh.
- * Generated using:
- * SOM Precompiler somipc: 2.18
- * SOM Emitter emitxh.dll: 2.33
- */
-
- #ifndef SOM_Module_OpenDoc_GeoTypes_defined
- #define SOM_Module_OpenDoc_GeoTypes_defined 1
- #include <som.xh>
-
- /*
- * Start of user-defined types:
- */
- typedef
- long ODCoordinate;
-
- /*
- * Graphics coordinates; 16.16 fixed by default
- */
-
- /*
- * -- Share exact same alignment between 68k & PowerPC.
- * -- User to add padding to idl as desired for better alignment.
- */
- #if powerc
- # pragma options align=mac68k
- #endif
- typedef
- struct ODPoint {
- ODCoordinate x, y;
-
- /*
- * Identical to "gxPoint" in QD GX.
- */
- } ODPoint;
-
- /*
- * ODRect struct. We conditionalize this with a symbol, like the header files, to allow
- * alternate definitions to be included first; they can then #define _RECT_ to keep this one
- * from being defined here.
- * Identical to "gxRect" in QD GX.
- */
- #if powerc
- # pragma options align=reset
- #endif
-
- /*
- * -- Share exact same alignment between 68k & PowerPC.
- * -- User to add padding to idl as desired for better alignment.
- */
- #if powerc
- # pragma options align=mac68k
- #endif
- typedef
- struct ODRect {
- ODCoordinate left;
- ODCoordinate top;
- ODCoordinate right;
- ODCoordinate bottom;
- } ODRect;
- #if powerc
- # pragma options align=reset
- #endif
- #define OpenDoc_GeoTypes_OpenDoc_GeoTypes_Version "1.0."
-
- #ifndef SOM_DONT_USE_SHORT_NAMES
- #ifndef SOMTGD_OpenDoc_GeoTypes_Version
- #ifdef OpenDoc_GeoTypes_Version
- #undef OpenDoc_GeoTypes_Version
- #define SOMTGD_OpenDoc_GeoTypes_Version 1
- #else
- #define OpenDoc_GeoTypes_Version OpenDoc_GeoTypes_OpenDoc_GeoTypes_Version
- #endif /* OpenDoc_GeoTypes_Version */
- #endif /* SOMTGD_OpenDoc_GeoTypes_Version */
- #endif /* SOM_DONT_USE_SHORT_NAMES */
-
- /*
- * End of user-defined types.
- */
- #endif /* SOM_Module_OpenDoc_GeoTypes_defined */
-